package com.xcity.game.combat.buff;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * 仅做拷贝，无实际效果
 * @author yang.li
 *
 */
public class CloneableBuff extends CombatBuff {

	private boolean debuff;
	
	public CloneableBuff(CombatBuff buff) {
		super(buff.template, buff.owner, buff.leftRounds);
		this.state = buff.state;
		this.debuff = buff.isDebuff();
	}

	@Override
	@JSONField(serialize = false)
	public boolean isDebuff() {
		return debuff;
	}

}
